package com.eldenring.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.eldenring.domain.User;

public class UserBlockHandler {

    public static User userExceptionHandler(Long id, BlockException ex){

        return User.builder().id(-1L).name("您的操作过于频繁").intro("请稍后再试").build();
    }
}
